package com.singfee.gisservice.service.impl;

import com.singfee.gisservice.entity.FieldInfo;
import com.singfee.gisservice.entity.GeoLayer;
import com.singfee.gisservice.mapper.LayerMapper;
import com.singfee.gisservice.service.ILayerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class LayerServiceImpl implements ILayerService {
    @Autowired
    LayerMapper layerMapper;

    @Override
    public List<GeoLayer> getLayerList() {
        return layerMapper.getLayerList();
    }

    @Override
    public List<FieldInfo> getFieldList(String layerName)
    {
        return layerMapper.getFieldList(layerName);
    }

}
